import request from '@/utils/request';
import { AxiosPromise } from 'axios';



/**
 * 项目查询完工详情
 * @param query
 */
export const taskEnrollSuccesslist = (query: any): AxiosPromise<any> => {
    return request({
      url: '/payment/taskEnroll/successlist',
      method: 'get',
      params: query
    });
  };
  


/**
 * 项目查询项目详情
 * @param query
 */
export const taskDetail = (id:any,query:any): AxiosPromise<any> => {
  return request({
    url: "/payment/task/"+id,
    method: 'get',
    params:query
  });
};



